<?php

namespace app\api\validate;

use think\Validate;

class Registers extends Validate
{
    protected $rule =   [
        'code'  => 'require',
        'key' => 'require',
        'iv' => 'require',
    ];

    protected $message  =   [
        'code.require' => '缺少code',
        'key.require' => '缺少加密必须',
        'iv.require' => '缺少iv必须',
    ];

}